10,892 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

While Creating a new folder in a drive, got Invalid Request. Microsoft.Graph.Models.ODataErrors.ODataError: One of the provided arguments is not acceptable.

I was trying the example from the url: https://learn.microsoft.com/en-us/graph/api/driveitem-post-children?view=graph-rest-1.0&tabs=cli to create a folder in the drive. I have a registered app with following Admin Granted permissions : When…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
asked 2024-05-28T14:45:50.0566667+00:00
Ramana Reddy Chamakura 0 Reputation points
answered 2024-05-28T17:13:13.5366667+00:00
Hitesh Pachipulusu - MSFT 400 Reputation points Microsoft Vendor
0 answers

How to get GRAPH API token in office.js (got 401 unauthorized)

I set up my Azure app registration application following this document: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-on-behalf-of-flow I have my Web URI set as: https://localhost:xxxx/Application (client) ID. I added my custom page…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,591 questions
asked 2024-05-28T16:29:48.7533333+00:00
S W 0 Reputation points
2 answers One of the answers was accepted by the question author.

Error Fetching TeamsID with Graph

Hi everyone, I'm currently trying to retrieve the TeamsID using Microsoft Graph API. However ,I keep encountering an error and I'm not sure how to resolve it. Here is the request I'm making and the error message I'm receiving: GET…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
asked 2024-05-28T15:46:04.66+00:00
Patrick 20 Reputation points
accepted 2024-05-28T16:19:42.01+00:00
Patrick 20 Reputation points
2 answers One of the answers was accepted by the question author.

graph api bulk udpate contact in an organisation from a csv

Graph api error bulk contact update from a csv updating the contacts using   self.endpoint_base = 'https://graph.microsoft.com/v1.0/me/contacts' this api throws me an error 2024-05-24 16:24:05,765 - INFO - ClientSecretCredential.get_token succeeded…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,128 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,952 questions
asked 2024-05-28T13:53:22.5666667+00:00
Pavan Goud 0 Reputation points
commented 2024-05-28T16:06:33.35+00:00
Pavan Goud 0 Reputation points
2 answers

Azure AD B2C passwordless login with email verification

Hi, I want to create a custom policy so as to login users. The flow I want is: The user enters email (only email, not password). The user choses in the next step if he wants to get the OTP code via phone sms or phone call. The issue is that the user…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
asked 2024-05-27T09:59:14.4333333+00:00
víctor arranz 0 Reputation points
commented 2024-05-28T16:05:57.5433333+00:00
víctor arranz 0 Reputation points
1 answer

Microsoft 365 Defender - How to get more meaningful email alerting?

How can I get more meaningful email alerts using the Microsoft 365 Defender? Because every time I get the email alert, the email is not as informative like the below: Microsoft 365 Defender has detected a security threat in your environment View incident…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,216 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,172 questions
Microsoft Defender for Identity
Microsoft Defender for Identity
A Microsoft service that helps protect enterprise hybrid environments from multiple types of advanced, targeted cyberattacks and insider threats.
162 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,887 questions
asked 2024-05-27T13:00:44.4566667+00:00
EnterpriseArchitect 4,891 Reputation points
answered 2024-05-28T15:31:10.0266667+00:00
Rich Matheisen 45,186 Reputation points
1 answer

Can I put the value of instanceDurationInDays in minutes for the QA while creating access reviews using powershell?

I am able to create an azure access reviews with Graph API 1.0 using PowerShell. Now, there is a property called instanceDurationInDays which should have an integer value. The access review will remain active for the number of days of the value of…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,414 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,172 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,887 questions
asked 2024-05-27T13:42:49.5833333+00:00
Sumit Bhargav 0 Reputation points
answered 2024-05-28T15:12:45.8133333+00:00
Rich Matheisen 45,186 Reputation points
1 answer One of the answers was accepted by the question author.

Issue with Adding Planner Tab to Teams Using Graph API - Content Perpetually Loading

Hello, I've been encountering an issue for the past 2-3 weeks, which seems to coincide with the release of the new Planner version. When attempting to add a Planner tab to a Microsoft Teams channel using the Microsoft Graph API, the tab is successfully…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,261 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,921 questions
asked 2024-04-09T06:18:27.91+00:00
Joah Lenzo 30 Reputation points
commented 2024-05-28T15:07:58.9033333+00:00
Maximilian HENKENSIEFKEN 26 Reputation points
1 answer

Inconsistent API Errors with Webhook Events: Could not find the requested call record. Records about calls or online meetings that started more than 30 days ago are not available.

Hello Team, We have implemented a Teams webhook to receive events whenever a Teams call ends. Upon receiving the webhook from Microsoft, we are making another call to the Microsoft Graph API service to retrieve the details of the call record using the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
asked 2024-05-14T09:30:18.9133333+00:00
Anand Tiwari 10 Reputation points
commented 2024-05-28T14:15:41.33+00:00
Anand Tiwari 10 Reputation points
0 answers

Please allow subscriptions on new Alerts API (/alerts_v2)

Hi, To automate the remediation of high-level alerts, we have set up Powerautomate flows for : revoke sessions and block a user concerned by a High alert in cases of phishings or abnormal connections (UserEvidence) isolate workstations in cases of…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
Microsoft Defender for Identity
Microsoft Defender for Identity
A Microsoft service that helps protect enterprise hybrid environments from multiple types of advanced, targeted cyberattacks and insider threats.
162 questions
Microsoft Defender for Endpoint Training
Microsoft Defender for Endpoint Training
Microsoft Defender for Endpoint: A Microsoft unified security platform for preventative protection, postbreach detection, and automated investigation and response. Previously known as Microsoft Defender Advanced Threat Protection.Training: Instruction to develop new skills.
20 questions
asked 2024-05-28T14:04:05.0833333+00:00
Roch AUBURTIN 0 Reputation points
1 answer

Webhook Subscription Payload

Created a subscription using url --> https://graph.microsoft.com/v1.0/subscriptions And added notification url 'https://xxx.com/webhook ' with chatid in the body of the API call. In the handler function expecting message Headers which are sent by…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
asked 2024-05-22T12:54:46.37+00:00
Ranjith Kumar Jain 20 Reputation points
commented 2024-05-28T14:03:30.2133333+00:00
1 answer

Connect-MgGraph : Invalid JWT access token. Connect-AzAccount : InteractiveBrowserCredential authentication failed

I need help and a solution to rectify the below error when executing the PowerShell Connect-* command. $TenantID = '22bb9241-65c8-45b4-94f9-7c151e154693' $AzSubscriptionID = 'd487514e-4317-447f-af79-5022d310f6bd' $paramConnectMgGraph = @{ Scopes =…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,414 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,172 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,887 questions
asked 2024-05-28T07:17:43.8466667+00:00
EnterpriseArchitect 4,891 Reputation points
commented 2024-05-28T13:54:15.38+00:00
Hitesh Pachipulusu - MSFT 400 Reputation points Microsoft Vendor
1 answer

CORS error on Drive item preview endpoint

Following this document: https://learn.microsoft.com/en-us/sharepoint/dev/embedded/tutorials/using-file-preview I have successfully obtained the item preview url by calling this endpoint first: POST…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
873 questions
asked 2024-05-28T12:38:28.4066667+00:00
Python Developer 7 0 Reputation points
answered 2024-05-28T13:20:59.5366667+00:00
Python Developer 7 0 Reputation points
3 answers

How can I get eligibility for a sandbox subscription to Microsoft 365 developer program.

I would like to get a Microsoft 365 Developer subscription (E5). But is says my account is not eligible. My current company uses a lot of Microsoft products inhouse. I am currently working on a solution that needs to interact with the company SharePoint…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
3,979 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,884 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,722 questions
asked 2024-03-21T08:34:48.3766667+00:00
Koen van Dijk 0 Reputation points
commented 2024-05-28T13:07:23.12+00:00
Koen van Dijk 0 Reputation points
1 answer One of the answers was accepted by the question author.

About Microsoft Graph API Get OneDrive Word File Content

Hi guys, I am using Microsoft Graph Api for create, upload and download docx/doc document on OneDrive. But I want to reach only content inside the uploaded document or existing document in OneDrive. I tried the get item and download services with…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,722 questions
asked 2022-04-28T10:30:45.84+00:00
Gamze 26 Reputation points
commented 2024-05-28T13:00:28.58+00:00
Ross Cullen 46 Reputation points
2 answers

How to use Graph API to edit Word or PowerPoint content

How can I use the Microsoft Graph API to extract content from a Word or PowerPoint document, find and replace specific text, and then update the existing document? I have attempted to use…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
697 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
PowerPoint
PowerPoint
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
232 questions
asked 2024-03-13T06:12:31.9233333+00:00
Satya Revanth Kumar Majji (AU) 0 Reputation points
answered 2024-05-28T12:52:45.7766667+00:00
Ross Cullen 46 Reputation points
0 answers

After 1/2 year API 403 error

I have a PowerShell script that runs daily and creates a folder in the employee contact lists via token (request) and writes the company's contacts in it so that everyone has them on their cell phone. The next day, this folder is deleted and the contacts…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,128 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,172 questions
asked 2024-05-28T12:31:31.4833333+00:00
Bonagura Marcello 0 Reputation points
2 answers

OneDrive - graph api to get files shared with a user

What is the graph Api to get the files shared with user for OneDrive ? (using the below auth flow) I am using an Azure Add App and the client credential flow with a self signed certificate as below. Using this, and the graph Apis, I am able to get the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
873 questions
asked 2024-02-26T06:34:15.3633333+00:00
Sushama Shroff (sushroff) 0 Reputation points
commented 2024-05-28T11:30:36.2766667+00:00
PDPL 0 Reputation points
1 answer

Intermittent 503 Errors with Microsoft Graph API: Get Calendar Events

When I request the Get Events API (v1.0/me/events/), I frequently encounter 503 errors. In some cases, it doesn't even return a 503 error but times out instead. This issue started occurring around 23:30 (UTC) on May 23, 2024, and it is still happening…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
asked 2024-05-28T09:50:03.81+00:00
tsujimoto taiki 0 Reputation points
answered 2024-05-28T11:13:50.58+00:00
Saranya Madhu-MSFT 225 Reputation points Microsoft Vendor
1 answer

'userRegistrationDetails' graph API not listing all users MFA details

I'd like to get customer's users who do not use MFA. I can do this using PowerShell but I didn't find a method property on graph API to get user's "strongauthenticationrequirements.state". I am using graph API …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,870 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,887 questions
asked 2024-05-27T13:52:24.1033333+00:00
govind 0 Reputation points
commented 2024-05-28T11:07:38.2833333+00:00
govind 0 Reputation points